Export information from child nodes in xml using Python